
const express = require('express');
import { SSR, Renderer } from '@fmfe/genesis-core'

export const app = express();

export const ssr = new SSR();

export const startApp = (renderer: Renderer) => {
    app.use(renderer.renderMiddleware);

    app.listen(4399, () => console.log('http://localhost:4399'))
}